<admintpl file="header"/>
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
        	<li><a href="{:U('Agents/agent')}">二级代理</a></li>
			<li class="active"><a href="{:U('Agents/bucklecardadd')}">扣卡</a></li>
		</ul>
		<form class="form-horizontal js-ajax-form" action="{:U('Agents/bucklecardadd_post')}" method="post">
			<fieldset>
				<div class="control-group">
					<label class="control-label">房卡数量</label>
					<div class="controls">
						<input type="text" name="G_GLODNUMBER" value="0" id="glodnumber"/>
						<span class="form-required">*</span>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">备注</label>
					<div class="controls">
						<textarea name="G_COMMENT2" rows="2" cols="20" id="comment" class="inputtext" style="height: 100px; width: 500px;"></textarea>
					</div>
				</div> 
				<!--<div class="control-group">
					<label class="control-label">{:L('STATUS')}</label>
					<div class="controls">
						<label class="radio inline" for="active_true"><input type="radio" name="status" value="1" checked id="active_true" />{:L('ENABLED')}</label>
						<label class="radio inline" for="active_false"><input type="radio" name="status" value="0" id="active_false">{:L('DISABLED')}</label>
					</div>
				</div> -->
			</fieldset>
			<div class="form-actions">
				<input type="hidden" name="G_COMMENT1" value="后台扣卡"/>
				<input type="hidden" name="id" value="{$agentid}"/>
				<input type="hidden" name="parentid" value="{$parentid}"/>
				<input type="hidden" name="G_STATE" value="0"/><!-- 0为扣卡  为false -->
				<button type="submit" class="btn btn-primary  js-ajax-submit">{:L('SAVE')}</button>
				<a class="btn" href="javascript:history.back(-1);">{:L('BACK')}</a>
			</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>